package com.qf.lanzhou.blog.api.service.impl;


import com.qf.lanzhou.blog.api.dao.ArticleDetailDao;
import com.qf.lanzhou.blog.api.dao.Impl.ArticleDetailDaoImpl;
import com.qf.lanzhou.blog.api.pojo.entity.Article;
import com.qf.lanzhou.blog.api.service.ArticleDetailService;

/**
 * @Author Nerly
 * @Date 2020/12/19 10:51
 * @JDK 1.8
 * @Version 1.0
 */
public class ArticleDetailServiceImpl implements ArticleDetailService {
    private ArticleDetailDao articleDetailDao = new ArticleDetailDaoImpl();

    @Override
    public Article getArticleById(Article article) {
        Article articleById = articleDetailDao.getArticleById(article);
        return articleById;
    }
}
